<div class="date" >
 <span id="data_span">  </span>
 	<script language="javascript">
       var day="";
       var month="";
       var ampm="";
       var ampmhour="";
       var myweekday="";
       var year="";
       mydate=new Date();
       myweekday=mydate.getDay();
       mymonth=mydate.getMonth()+1;
       myday= mydate.getDate();
       year= mydate.getFullYear();
       if(myweekday == 0)
       weekday=" 周日 ";
       else if(myweekday == 1)
       weekday=" 周一 ";
       else if(myweekday == 2)
       weekday=" 周二 ";
       else if(myweekday == 3)
       weekday=" 周三 ";
       else if(myweekday == 4)
       weekday=" 周四 ";
       else if(myweekday == 5)
       weekday=" 周五 ";
       else if(myweekday == 6)
       weekday=" 周六 ";
       $("#data_span").html(" "+ year+"年"+mymonth+"月"+myday+"日 "+weekday)
      </script>

</div> 